<template>
  <div class="nav_headers">
    <div class="nav-left"><slot name="left"></slot></div>
    <div class="nav-conter"><slot name="conter"></slot></div>
    <div class="nav-right"><slot name="right"></slot></div>
  </div>
</template>

<script>
export default {
  name: 'Headers'
}
</script>

<style lang="less" scoped>
.nav_headers {
  position: relative;
  z-index: 999;
  display: flex;
  height: 45px;
  line-height: 45px;
  color: #fff;
  background-color: var(--color-tint);
}

.nav-left {
  width: 50px;
}

.nav-conter {
  flex: 1;
  text-align: center;
}

.nav-right {
  width: 50px;
}
</style>
